package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_RETURNGOODS database table.
 * 
 */
@Entity
@Table(name="HIS_RETURNGOODS")
@NamedQuery(name="HisReturngood.findAll", query="SELECT h FROM HisReturngood h")
public class HisReturngood implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="TH_NO")
	private long thNo;

	@Column(name="CG_NO")
	private BigDecimal cgNo;

	@Column(name="CG_PRICE")
	private BigDecimal cgPrice;

	@Column(name="CQ_NAME")
	private String cqName;

	@Column(name="TH_MONEY")
	private BigDecimal thMoney;

	@Column(name="TH_NUMBER")
	private BigDecimal thNumber;

	@Column(name="TH_REMARKS")
	private String thRemarks;

	@Column(name="TH_STATE")
	private String thState;

	@Column(name="TH_SUPPLIER")
	private String thSupplier;

	@Column(name="TH_TEL")
	private String thTel;

	@Temporal(TemporalType.DATE)
	@Column(name="TH_TIME")
	private Date thTime;

	@Column(name="TH_TYPE")
	private String thType;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisReturngood() {
	}

	public long getThNo() {
		return this.thNo;
	}

	public void setThNo(long thNo) {
		this.thNo = thNo;
	}

	public BigDecimal getCgNo() {
		return this.cgNo;
	}

	public void setCgNo(BigDecimal cgNo) {
		this.cgNo = cgNo;
	}

	public BigDecimal getCgPrice() {
		return this.cgPrice;
	}

	public void setCgPrice(BigDecimal cgPrice) {
		this.cgPrice = cgPrice;
	}

	public String getCqName() {
		return this.cqName;
	}

	public void setCqName(String cqName) {
		this.cqName = cqName;
	}

	public BigDecimal getThMoney() {
		return this.thMoney;
	}

	public void setThMoney(BigDecimal thMoney) {
		this.thMoney = thMoney;
	}

	public BigDecimal getThNumber() {
		return this.thNumber;
	}

	public void setThNumber(BigDecimal thNumber) {
		this.thNumber = thNumber;
	}

	public String getThRemarks() {
		return this.thRemarks;
	}

	public void setThRemarks(String thRemarks) {
		this.thRemarks = thRemarks;
	}

	public String getThState() {
		return this.thState;
	}

	public void setThState(String thState) {
		this.thState = thState;
	}

	public String getThSupplier() {
		return this.thSupplier;
	}

	public void setThSupplier(String thSupplier) {
		this.thSupplier = thSupplier;
	}

	public String getThTel() {
		return this.thTel;
	}

	public void setThTel(String thTel) {
		this.thTel = thTel;
	}

	public Date getThTime() {
		return this.thTime;
	}

	public void setThTime(Date thTime) {
		this.thTime = thTime;
	}

	public String getThType() {
		return this.thType;
	}

	public void setThType(String thType) {
		this.thType = thType;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}